﻿using System.Collections.Generic;
using GameFramework.skill.deployer;
using UnityEngine;

namespace GameFramework.skill.effect.impl
{
    //直接恢复/伤害效果
    public class DamigeHpSkillEffect:ISkillEffect
    {
        public EffectConfig effectConfig;
        public void excute(Skill skill)
        {
            List<Transform> skillTargets = skill.targets;
            
            foreach (Transform target in skillTargets)
            {
                
                Debug.Log(target.name+" 减少属性："+effectConfig.values[0]+"  变化属性值："+effectConfig.values[1]);
            }
        }
    }
}